The HttpResponse
PHP Manual

HttpResponse::setLastModified

(PECL pecl_http >= 0.12.0)

HttpResponse::setLastModifiedSet last modified

Descripción

static bool HttpResponse::setLastModified ( int $timestamp )

Set a custom Last-Modified date.

Lista de parámetros

timestamp

Unix timestamp representing the last modification time of the sent entity

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.

Ver también


The HttpResponse
PHP Manual